package tw.com.controller;

import javax.servlet.http.HttpServletRequest;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import tw.com.service.report01.Report01Service;
import tw.com.service.report02.Report02Service;

@Controller
@RequestMapping("/report01v2")
public class Report01Controller_v2 {

	private Log log = LogFactory.getLog(Report01Controller_v2.class);

	@Autowired(required = false)
	@Qualifier("reportSer_01")
	private Report01Service reportService;

	@Autowired(required = false)
	@Qualifier("reportSer_02")
	private Report02Service reportService02;

	@Autowired(required = true)
	private HttpServletRequest request;

	@RequestMapping(value = "/0101/find", method = RequestMethod.GET)
	public String doLoad() {

		return "report0101View";

	}

}
